package com.itgacl.magic4j.modules.comm.dto;

import com.itgacl.magic4j.common.base.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Classname CommLicenseDTO
 * @Description CommLicense的数据传输对象（DTO)(Data Transfer Object)
 * @Author Created by 徐达沛
 * @Date 2021-12-23
 * @Version 1.0
 */
@ApiModel(value="CommLicense对象DTO", description="license信息表")
@Data
public class CommLicenseDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "授权IP地址")
    private String licenseIp;

    @ApiModelProperty(value = "license模式，0：单机模式，1：时限模式，2：联网模式")
    private Integer mode;

    @ApiModelProperty(value = "授权有效期")
    private Date expiryTime;

    @ApiModelProperty(value = "客户名称")
    private String consumerName;

    @ApiModelProperty(value = "客户手机号")
    private String consumerCellphone;

    @ApiModelProperty(value = "授权到期通知邮箱")
    private String notifyEmail;

    @ApiModelProperty(value = "状态  0：正常   1：禁用，2：已过期")
    private Integer status;
}
